import java.awt.Graphics;

import javax.swing.JPanel;


public abstract class AbstractDrawingArea extends JPanel 
{
	public Window	gui;
	
	public AbstractDrawingArea(Window gui)
	{
		super();
		this.gui = gui;
	}
	
	public void paintComponent(Graphics g)
	{
		super.paintComponent(g);
		drawScenario(g);
	}

	public abstract void drawScenario(Graphics g);
}
